//
//  BasTypeConstants.h
//  Useful type constants
//  2006, John Wiggins
//
// This program is free software; you can redistribute it and/or modify  
// it under the terms of the GNU General Public License as published by  
// the Free Software Foundation; either version 2 of the License, or     
// (at your option) any later version.                                   
// 
// This program is distributed in the hope that it will be useful,       
// but WITHOUT ANY WARRANTY; without even the implied warranty of        
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         
// GNU General Public License for more details.                          
//     
//     You should have received a copy of the GNU General Public License     
//     along with this program; if not, write to the                         
//         Free Software Foundation, Inc.,                                       
//         59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.  
//-------------------------------------------------------------
#ifndef BAS_TYPE_CONSTANTS_H
#define BAS_TYPE_CONSTANTS_H
//-------------------------------------------------------------
#include "Basics/BasTypes.h"
//-------------------------------------------------------------
const type_code BAS_CHAR_TYPE = 0xABCDEF00; //A single character
const type_code BAS_BOOL_TYPE = BAS_CHAR_TYPE+1; //A boolean value (the bool type)
const type_code BAS_INT8_TYPE = BAS_CHAR_TYPE+2; //An 8-bit integer
const type_code BAS_INT16_TYPE = BAS_CHAR_TYPE+3; //A 16-bit integer
const type_code BAS_INT32_TYPE = BAS_CHAR_TYPE+4; //A 32-bit integer
const type_code BAS_INT64_TYPE = BAS_CHAR_TYPE+5; //A 64-bit integer
const type_code BAS_FLOAT_TYPE = BAS_CHAR_TYPE+6; //A float
const type_code BAS_DOUBLE_TYPE = BAS_CHAR_TYPE+7; //A double
const type_code BAS_SIZE_T_TYPE = BAS_CHAR_TYPE+8; //A size_t value
const type_code BAS_SSIZE_T_TYPE = BAS_CHAR_TYPE+9; //An ssize_t value
const type_code BAS_POINTER_TYPE = BAS_CHAR_TYPE+10; //A pointer of some kind (including void *)
const type_code BAS_STRING_TYPE = BAS_CHAR_TYPE+11; //A null-terminated character string
const type_code BAS_RAW_TYPE = BAS_CHAR_TYPE+12; //Raw, untyped data stream of bytes
//-------------------------------------------------------------
#endif // BAS_TYPE_CONSTANTS_H
//-------------------------------------------------------------
